<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <div class="app">
        <h1>{{ title }}</h1>

        {{ msg }}
    </div>

    <div class="cont">

        

    </div>
</body>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script>

    const {createApp} = Vue;

    const app = createApp({
        data(){
            return {
                title:"hello vue 123",
                msg:"哈哈哈啊"
            }
        }
    })

    const vm = app.mount(".app");

    const data = {
        title:"这是原生代码"
    }

    document.querySelector(".cont").innerHTML = data.title

    
</script>
</html>